Being incarcerated doesn’t strip inmates of their constitutional rights. That’s the message a U.S. District Court for the Northern District of Georgia ruling is sending after the court denied summary judgment to a jail employee accused of violating inmates’ Fourth Amendment rights to protection from unreasonable searches.

The court also hinged its denial of the defendant’s qualified immunity defense on a procedural mistake that serves as a wakeup call for lawyers to vet their motions before filing.