Arbor: fix error in addEdges.