fixed minor error in filter for valgrind suite