Bug fix *  max can't be bigger than field length
Bug fix
*  max can't be bigger than field length

cgmb/Diversibee,jvamosi/Diversibee,arowens/Diversibee,cgmb/Diversibee,arowens/Diversibee,jvamosi/Diversibee