Maryland losses disallowed on federal return when filing non-resident MD return

Hi,

 

I had an overall rental loss, which shows up as $0 on my federal return since it's disallowed.
One of the rental partnerships was in Maryland and per K-1 it yielded a ~$15000 loss. When filing my non-resident Maryland return the only way I can force TurboTax to allocate -$15000 to Maryland is to tell TurboTax that I had +$15000 non-Maryland gains (which is incorrect - other states had losses too). These made-up gains are then added in "Additions to Income" which incorrectly increases my "Maryland AGI".

Am I doing something wrong? Should the federal number be the actual loss instead of $0? Should my Maryland income + non-Maryland income not be equal to federal income?

I've spent weeks diagnosing this, any help is really appreciated.