Mortgage Interest deduction with home sale and purchase

I'm a bit confused by my two 1098 forms. I sold a home in June 2019 and purchased a home with the same closing date.

 

The 1098 forms both list outstanding mortgage principal, which makes my total outstanding loan balance over $1M, resulting in not being able to deduct Mortgage Interest. However, I didn't have both mortgages at the same time, and neither of the two mortgages exceeds $750k on their own.

 

Is it possible for me to deduct Mortgage Interest? If I enter everything as shown on the 1098s, TurboTax does not show allowed deductions.