Fix refreshVisuals() in SpanPart and StructurePart throwing exception
when node has no incoming or outgoing relations & set up policy/delete
command structure