Fix graph saving after the-grid/the-graph#48