Bagging now happens according to output name. Flows from different
source may now be together that the bagging will perform normally.