Solve issue searching. Fix #27
Merge pull request #28 from findsorguk/issue-27-search-error

Solve issue searching. Fix #27