Fixes to DirectedEdgeBuilder

@dgearhart