Handle invalid search requests.
Merge pull request #51 from glv2/patch-1

Handle invalid search requests.