Fix saved graphs not having reduction type set on load