It is an affirmative defense to any action by a landlord based upon nonpayment or partial payment of rent that the landlord increased the rent primarily because the tenant had received, or was eligible for, reimbursement under this subchapter.