Fix too strict error checking: the value of a condition does not need to
be numeric