Restore support for recovering job state from v2.5 and earlier