You cant remove any rows from collection directly there are other indirect ways to do that which you can find
hereTo combine the groups you can merge collection . And simply pass the final collection as a output parameter in end stage of object to get it in process.
------------------------------
------------------------------
Vipul Tiwari
Senior Process Simplification and Optimization Designer(Solutions Architect)
Fidelity International
------------------------------
------------------------------
------------------------------
Vipul Tiwari
Senior Process Simplification Developer
Amazon
------------------------------