Fix to make a step failure reject the main flow promise if there are no flow delegates