; or (II) the date that such investigation ends. . 106. Exception for consensual queries Section 702(f)(1) of the Foreign Intelligence Surveillance Act of 1978 ( 50 U.S.C. 1881a(f)(1) ) is amended by adding at the end the following: (D) Consensual queries The query standard set forth in the procedures adopted pursuant to subparagraph (A) shall include an exception for cases in which the subject of the query, or a third party authorized to consent on behalf of the subject, has provided consent for the query. . 107. Procedures to enable travel vetting of non-United States persons Section 702(f) of the Foreign Intelligence Surveillance Act of 1978 ( 50 U.S.C. 1881a(f) ), as amended by section 105, is further amended— (1) by redesignating paragraph (6) as paragraph (7); and (2) by inserting after subparagraph (5) the following: (6) Travel vetting of non-United States persons For any procedures adopted under paragraph (1)(A), the Attorney General, in consultation with the Director of National Intelligence, shall ensure that the procedures enable the vetting of non-United States persons who are being processed for travel to the United States using terms that do not qualify as United States person query terms under this Act. . II Accuracy and integrity of FISA process 201. Certifications regarding accuracy of FISA applications (a) Title I Subsection (a) of section 104 of the Foreign Intelligence Surveillance Act of 1978 ( 50 U.S.C. 1804 ) is amended— (1) in paragraph (8), by striking ; and and inserting a semicolon; (2) in paragraph (9), by striking the period at the end and inserting ; and