And the expected, common case when a stage is being removed is for pendingTasks to have an empty Set of tasks associated with that stage.