; (3) in clause (ii), as so redesignated by paragraph (1) of this subsection, by inserting that is not made available in accordance with the preference under clause (i) after under this subsection ; and (4) in clause (iii), as so redesignated by paragraph (1) of this subsection, by striking this subparagraph and inserting clause (ii) . (c) PHA project-Based voucher assistance Subparagraph (J) of section 8(o)(13) of the United States Housing Act of 1937 ( 42 U.S.C. 1437f(o)(13)(J) ) is amended— (1) in the first sentence, by inserting before the period at the end the following: , except that the agency shall give preference to otherwise eligible children who are in foster care, have attained an age such that the provision of foster care for such child will end by reason of the age of the child within 6 months, meet the requirements under clauses (i) and (ii) of paragraph (1) of the definition of at risk of homelessness in section 91.5 of the Secretary’s regulations (24 C.F.R. 91.5), as in effect on September 1, 2016, and have agreed to comply with the requirements under section 38(c)