(2)Limit on amount of credit or refund. (A)Limit where claim filed within 3-year period. If the claim was filed by the taxpayer during the 3-year period prescribed in subsection (a), the amount of the credit or refund shall not exceed the portion of the tax paid within the period,...