bugfix against missing search agent

Change-Id: I5551bef056dbdeb2fcc623770af4477d62d402fd