Get rid of double negation in custom matcher