Fixed scoping issue; edges will properly get removed now if an associated node is removed.