Investors & landlords

Everything looks correct on the Form 4797. But on the Form 8582, Part IV is completely blank, so I can't see how lines 1a, 1b, and 1c are being calculated. I can tell that 1c includes only the Prior Years' Unallowed Losses from one of the properties. The one that is excluded has a gain on the building but a loss on the land. I've read elsewhere that a gain/loss combo can confuse TT. Grateful for your thoughts!