fix handling of tax location records and add a 'clear' button for tax credits