Issue #664: [pedigree] fix unnecessary parent-to-child edge crossings (in some cases when two relationships are next to each other)