Don't throw and exception if types don't match in Z.cmp.