Fix a bug in the new i2d_{ENUMERATED,INTEGER} that