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

:hamburger: