change CollapsingAggregateBatch to adapt to empty carryovers