Fixed the search filtering.