; and (2) by adding at the end the following: (B) Exception (i) In general Any Federal Pell Grant that a student received during a period described in subclause (I) or (II) of clause (ii) shall not count towards the student’s duration limits under this paragraph. (ii) Applicable periods Clause (i) shall apply with respect to any Federal Pell Grant awarded to a student to attend an institution— (I) during a period— (aa) for which the student received a loan under this title; and (bb) for which the loan described in item (aa) is forgiven under— (AA) section 437(c)(1) or 464(g)(1) due to the closing of the institution or false certification; or (BB) section 455(h) due to the student’s successful assertion of a defense to repayment of the loan