Strip spaces from search query