Tweak the logic on the relevance queries for search