Simplify IsStrictMatch.