Fixed overlap edges not being added to graph.

That line got removed accidentally in
1d29628bdedc218440e85dcafac6d34a7f792882.