After you file

I had the same issue. It was explained to me that since i sold the house at a loss that i did not need to pay that money back anymore. I needed to amend 2016 returns to document the loss then wait for the ameneded 2016 return to be processed before i can file 2017.