Updated to new definition validation minLength, maxLength => Length

Change options of Assert to new definition