Better minLength handling