prevent searchword redirect when we're serving an endpoint request

this takes care of the broken search suggest bug

see https://github.com/GigaOM/legacy-pro/issues/4101