(a) For repairs or improvements made to a particular building or structure, a person may receive either the deduction provided by section 18 of this chapter (before its expiration) or the deduction provided by section 22 of this chapter (before its expiration). A person may not receive deductions under both sections for the repairs or improvements.