In an action for nonpayment of rent, the tenant shall be allowed to tender to the landlord, within seven days of the day the tenant was served with the summons pursuant to Code Section 44-7-72, all rents allegedly owed plus the cost of the distress warrant. Such a tender shall be a complete defense to the action.