Fix minlength validation.
New validator for optional minlength.