fixes #184 and refactors the search code for both people and projects