Fix search for inactive