fixed filter boolean test