Strip search query of leading & trailing whitespace
Merge pull request #5317 from gdpelican/feature/strip-search-query

Feature/strip search query