06c63f7aa1
This fixes a regression caused by MDL-74752. If you regraded a subsequent quiz attempt in a quiz using the 'Each attempt builds on last' option, then the student's response could get lost.