fix broken Iterable.grouping (though it seems it's not used anymore)