Fix computation of the estimated time when new phase is created