Grouping and summing working properly.