Fix issue with the search filter.