An internal TSA report found that a new travel restriction on travel by people with a history of mental health problems was “unsafe,” and that the policy was “likely to have adverse effects” on security.

The report, released Thursday, found that the TSA was “confident that TSA security policies have been designed to limit the impact of certain travel and medical conditions on the safety and security of travelers.”

The TSA’s chief, Joseph McCarthy, called the report “disturbing.”

The agency’s Office of Inspector General said it was conducting an investigation into the report.

The TSA has been under scrutiny since the 2016 shooting of an Air Force veteran at a Minneapolis-St. Paul airport that killed five people.