is amended by adding at the end the following new subsection: (p) Ineligibility for with dependents rate of certain members A member who is married to another member, is assigned to the same geographic location as such other member, and has one or more dependent children with such other member is not eligible for a basic allowance for housing at the with dependents rate. . (b) Effective date (1) In general The amendment made by subsection (a) shall take effect on October 1, 2017, and shall, except as provided in paragraph (2), apply with respect to allowances for basic housing payable for months beginning on or after that date. (2) Preservation of current BAH for members with uninterrupted eligibility for BAH Notwithstanding the amendment made by subsection (a), the monthly amount of basic allowance for housing payable to a member of the uniformed services under section 403 of title 37, United States Code, as of September 30, 2017, shall not be reduced by reason of the amendment so long as the member retains uninterrupted eligibility for such basic allowance for housing within an area of the United States or within an overseas location (as applicable). 604. Modification of authority of President to determine alternative pay adjustment in annual basic pay of members of the uniformed services (a) Modification Section 1009(e) of title 37, United States Code, is amended— (1) in paragraph (1), by striking or serious economic conditions affecting the general welfare