Fix search groups/colleagues and add doc string