It's an enum after all, and the front-end doesn't work well with enums that are ints. The code for the back-end should remain the same.
Contributes to issue CURA-1716.
This setting is not defined in this definition so it can't find the value of it here. I've re-introduced the maximum_value statically in the Jedi implementations of this setting.
Contributes to issue CURA-1278 and CURA-351.