Allow search engine referrers to have empty queries

Even if a search engine referrer contains a query param that is empty, it should still be considered a search engine referrer.

@mkobetic @charlescng @aSadhankar for review