With Standard Deduction FED refund is higher, but with Itemizing TOTAL Refund is Greater (Fed + State)

So, if i choose the standard deduction vs. itemization, the Federal refund is higher than if I itemized. BUT, if I do  do itemized the State refund is much larger. This is for Maryland.  So, even though it recommends standard deduction (FED) if I choose Itemization, my total refund increases dramatically. Does this make sense? Is this even possible? In addition to W2 Income, we have self-employed and use of home deductions.

 

Thanks