Synced the search and the filter to work nicely with each other