QBI when one property has a loss but has been sold

I believe that you are not supposed to include income in QBI if you no longer own the property at the end of the tax year.

But what if that property created an operating loss in its last year?  

I have checked the boxes to say it is not a QBI property, but my QBI income is still being based on factoring in that loss.  

Should I make an adjustment to my QBI income, adding the amount of that loss back in (ie changing QBI income to the total of the other properties without that loss?)  

Or is it correct to leave it as is?

 

Also nothing is showing up on my statement Z explanation.  Is there some worksheet I haven't done yet?  Or is walking through the step by step the way to make that happen?  (I saw that on another post but it was from a several year about TurboTax.) 

Thanks