fixed search error when there is a space in the search term
Merge pull request #49 from ricarora/search

fixes search error when there is a space in the search term