sentence1: The report by the Justice Department's inspector general found "significant problems" in the government's handling of foreigners who were jailed under blanket edicts adopted by the department after the attacks.
sentence2: Significant problems were encountered by the Justice Department's inspector general in the way the government deals with foreigners arrested under general decrees adopted by the department after the attacks.