SI-7486 Regressions in implicit search.

Revert e86832d7e8 and dd33e280e2.