Fixed NOT filter logic