fixed the nonmutativeKeyCodeMatcher expression to avoid unintended false positives