HPCC-9185 Always return a maxlength > minLength

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>