Added a minlength validator