VID-560 changing min length to max length