_min_max_length_errors bug on Python 3 (comparing None to int is not allowed in Python 3)

Simplifying removing the comparison. We don't care if the numbers are
negative, because don't make any sense.
We just want to check that is not 0 and is not None.