Corrected depgraph parsing