MDL-24446 prevent problems with invalid values of CFG->maxbytes