Apply filter on search term change