Fix broken filter method.