Allow to validate integer values on enums