depgraph: fix logic more for bug 345979
1 file changed