Architect - Dependencies aren't deleted when moving task into a transaction block

Workflow tasks can be moved or copied within a workflow. If a task is moved into a transaction block, the dependencies on tasks outside the block are left in the code and the action fails.

========================================
Chyba pøi ukládání dat formuláøe '03_Transform_WQ_TransactionReportRequest_CreateAttachment'
The given key was not present in the dictionary.
========================================
The given key was not present in the dictionary.
------------------------------------------
========================================
 Stack trace
========================================
   at System.ThrowHelper.ThrowKeyNotFoundException()
   at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
   at Origam.Workbench.Diagram.WorkFlowDiagramFactory.AddToSubgraph(IWorkflowBlock workFlowBlock, Subgraph subgraph)
   at Origam.Workbench.Diagram.WorkFlowDiagramFactory.AddToSubgraph(IWorkflowBlock workFlowBlock, Subgraph subgraph)
   at Origam.Workbench.Diagram.WorkFlowDiagramFactory.Draw(IWorkflowBlock graphParent, List`1 expandedSubgraphNodeIds)
   at Origam.Workbench.Diagram.InternalEditor.WorkFlowDiagramEditor.ReDraw()
   at Origam.Workbench.Diagram.InternalEditor.WorkFlowDiagramEditor.ReDrawAndKeepFocus()
   at Origam.Workbench.Diagram.InternalEditor.WorkFlowDiagramEditor.UpdateNodeOf(AbstractSchemaItem persistedSchemaItem)
   at Origam.Workbench.Diagram.InternalEditor.WorkFlowDiagramEditor.OnInstancePersisted(Object sender, IPersistent persistedObject)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at Origam.DA.ObjectPersistence.AbstractPersistenceProvider.EndTransaction()
   at Origam.Workbench.Editors.AbstractEditor.SaveObject()
   at Origam.Workbench.Commands.SaveContent.Run()