Improve support for iteration on enums that are just range of values, without named enumerators. Reviewed-by: iklam, lfoltan