Fixed filter functionality to work again.