Related to how we pass the index of the map to check how much padding to give. Because we return within the map's iteration if there are no channels for the group, the index still increments. Groups without channels need to be filtered out before being passed to the map.