(Id. at 32 (quoting 50 U.S.C. §§ 1804(a)(6)(B), 1823(a)(6)(B)) (internal quotation marks omitted).) Prior to the amendment, FISA permitted surveillance only when “the purpose” of the surveillance was to obtain foreign intelligence information.