fix coGroup bug when more than 2 pipes where grouped