The program runs fine from the start but gives 011 when restarted from the middle.
The restart block comes after the only F in the program. Confirm it because it does not fail from the start. Fix it by putting F on the first move of every operation so any starting point is safe.