Fixed: indexation error in grouping.