; and (II) the amount that the foster care maintenance payments portion of such maximum capped allocation or final cost neutrality limit would be if the Federal medical assistance percentage applicable to the State under clause (ii) for the fiscal year so specified were used to determine the amount of such portion. (ii) Applicable Federal medical assistance percentage For purposes of clause (i)(II), the Federal medical assistance percentage applicable to a State for a fiscal year specified in subparagraph (B) is the average of the values of the Federal medical assistance percentage applicable to the State in each quarter of such fiscal year under section 474(a)(1) of the Social Security Act ( 42 U.S.C. 674(a)(1) ) after application of any temporary increase in the Federal medical assistance percentage for the State and quarter under section 6008 of the Families First Coronavirus Response Act ( 42 U.S.C. 1396d note) and any other Federal legislation enacted during the period that begins on July 1, 2020, and ends on September 30, 2021. . 410. Technical correction to temporary increase of Medicaid FMAP Section 6008 of the Families First Coronavirus Response Act ( Public Law 116–127 ) is amended by adding at the end the following: (e) Application to title IV–E payments If the District of Columbia receives the increase described in subsection (a) in the Federal medical assistance percentage for the District of Columbia with respect to a quarter, the Federal medical assistance percentage for the District of Columbia, as so increased, shall apply to payments made to the District of Columbia under part E of title IV of the Social Security Act ( 42 U.S.C. 670 et seq.) for that quarter, and the payments under such part shall be deemed to be made on the basis of the Federal medical assistance percentage applied with respect to such District for purposes of title XIX of such Act ( 42 U.S.C. 1396 et seq.) and as increased under subsection (a). . V Pandemic State Flexibilities 501. Emergency flexibility for State TANF programs