SearchResultsToVisibilityConverter is rewritten for better security