; and (2) by adding at the end the following: (i) Permanent priority dates The priority date for any family- or employment-based petition shall be the date of filing of the petition with the Secretary of Homeland Security (or the Secretary of State, if applicable), unless the filing of the petition was preceded by the filing of a labor certification with the Secretary of Labor, in which case that date shall constitute the priority date. The beneficiary of any petition shall retain his or her earliest priority date based on any petition filed on his or her behalf that was approvable when filed, regardless of the category of subsequent petitions. . 110. Relief for spouses and children on other visas (a) Work authorization for holders Section 214 of the Immigration and Nationality Act ( 8 U.S.C. 1184 ) is amended by adding at the end the following: (s) In the case of an alien spouse or child over the age of 16 admitted under subparagraphs (E), (H), (L), and (O) of section 101(a)(15)(H) who is accompanying or following to join a principle alien admitted under such section, the Secretary shall authorize such nonimmigrant to engage in employment in the United States and provide the nonimmigrant with an employment authorized endorsement or other appropriate work permit. . (b) Protecting H–4 children who age out of status (1) Section 214(g)(4) of the Immigration and Nationality Act ( 8 U.S.C. 1184(g) ) is amending by inserting at the end The following exceptions apply: (A) Any alien who— (i) is the beneficiary of a petition filed under section 204(a) of that Act for a preference status under paragraph (1), (2), or (3) of section 203(b) of that Act