Correct restoring of schedule after restart (include miss count and penalty loops)