Fix invalid range option exception in Validations::validates_length_of() in lib/Validations.php