Removed FOREACH_ENUMERATOR
Change make_enum_range_start_end to mimic the old behavior