Fix aggregation when reading several slices with different retentions