fixed a bug for when filter search is cleared