fix node deletion

would previously fail if node wasn't in first "row" (first connection of
each parent node)