RAZ-2489: Search: Search returns incorrect or sometimes unrelated records