Fix transaction aggregation