Fix grouping in unapplySeq