bugid: 95926 -- fix internal search relevance by fixing bad conditional