Fix search in groups table