Fixes saving existing DAGs.