WebSearch: Fixed missing facets

* Fixed missing facets when query had leading or trailing spaces