Small fix for filter by search method