Delete end comma in enumerations