There's already a check one line up from this for min >= max.