FIX: flaky search-spec (PR #13561)

More precise expectations for search spec

GitHub