It could be a matter of providing training on the trauma caused by this type of search.
You also mentioned the transgender people who are incarcerated. Should officers be made more sensitive to this situation and receive more in-depth training on this issue?