Correct max_digits/min_order values. (Thanks stozher!)