search-redirect: check for parameter existence consistently

Change-Id: I24437591bb6df7d3cbfa9bdb4a48b1c2b863f2b1
Merge "search-redirect: check for parameter existence consistently"