Fix not-match cases for MatchError

Currently MatchError doesn't work not-mached cases.