Using agency groups when searching profiles