fix bug in filter search. closes #10