Fixed DAG subgraph bug for real