; (B) the term material support or resources has the meaning given the term in section 2339A; and (C) the term terrorism includes international terrorism and domestic terrorism, as defined in section 2331. (5) For purposes of this subsection, a person shall not be considered to have been investigated as a known or suspected terrorist solely by reason of being identified in the terrorist screening database (as such term is defined in section 2101(10) of the Homeland Security Act of 2002 ( 6 U.S.C. 621(10) ), if the name of the person was thereafter removed from the database because the person was erroneously included. . 4. Sunset The amendments made by sections 2 and 3 shall cease to have effect after the 3-year period that begins with the date of the enactment of this Act. 5. Reports to Congress Not earlier than 18 months after the date of the enactment of this Act and not later than 3 years after such date of enactment, the Attorney General shall submit to the Congress a written report on the petitions filed and court orders granted under sections 2 and 3, including— (1) the number of petitions so filed; (2) the number of orders so granted; (3) the number of petitions that were denied; (4) the disposition of any arrest made after such an order was granted, including any charges brought and the outcome of those charges; (5) with respect to each of the matters described in paragraphs (1) through (4), whether the subject of the petition or order was a United States citizen or foreign national and whether the allegations involved domestic terrorism or international terrorism; (6) for any such order issued against a foreign national, whether a deportation proceeding was initiated against the individual and, if so, the outcome of the deportation proceeding