; and (2) by amending subparagraph (E) to read as follows: (E) Qualified disaster area (i) In general Subject to clauses (ii) and (iii), the term qualified disaster area means any census tract or nonmetropolitan county located in a major disaster area or an area in which a catastrophic incident has occurred if such census tract or nonmetropolitan county ceased to be qualified under subparagraph (A) or (B), as applicable, during the period beginning 5 years before the date on which the President declared the major disaster or the catastrophic incident occurred. (ii) Duration A census tract or nonmetropolitan county shall be considered to be a qualified disaster area only for the period of time ending on the date the area ceases to be a qualified census tract under subparagraph (A) or a qualified nonmetropolitan county under subparagraph (B), in accordance with the online tool prepared by the Administrator described under subsection (d)(7) and beginning— (I) in the case of a major disaster declared by the President, on the date the President declared the major disaster for the area in which the census tract or nonmetropolitan county, as applicable, is located