client/search: small logic fix Upstream-commit: a7e8f3616cc97bd5fb59d6074ab78219b81d1f12 Component: engine