RR: fix search
RR: fix search route test
RR: test for search, close #274
Merge pull request #315 from onaio/274-fix-search

Fix search