Deductions & credits

Seems wrong that by getting a second house, the deduction is less - $22,000 with both homes or $24,000 with just the first home.  I’m assuming I can just ignore the second home and take the deduction only on the first home ($24,000).