BS-8827, include max value in string size validator.