It's not a direct solution to your problem, but it might be worth considering: The problem would not arise if you used the How questions behave: Immediate feedback setting. With that, students submit each question one at a time as they go.
Quiz
label element for selecting radio buttons
This discussion has been locked so you can no longer reply to it.