We rented our house for part of the year then resumed personal use. How do we deduct Mortgage Insurance? Under rental expenses or under our home deductions?

Rental period was from January to March.  Then we moved back upon the end of the lease and resumed personal use of the property.  Following the guide, we entered the Mortgage Insurance premiums from our 1098 under the rental expenses and under our home deductions, but it seems we are double dipping?