Fixed mistakes in handling of ddata and graph paths.