There’s a balance between the safety of the public and the rights of accused criminals.
When the threat to the public is greater the rights of the criminal can’t be allowed to count for as much.