Fix search for only profiles (find people) and only projects (discover projects).