Fixed #20440 -- Ensured CharField's max_length/min_length are integers