Correct phase aggregation

Change aggregation to not update the status to finished until all steps have completed, and thus also not recording the result.