Fixed bug that was preventing the search filter to work.