Change of MinLength deprecated to Length. Fixes #3
[ci skip]