Handle case: generation n-1 was deleted because n+1 is running, but n+1 fails. On restart it throws an exception without this change.