Thanks! For some reason, I didn't make the 'while the quiz is still open' connection earlier but after I reset this area of the quiz to this (see below), it now works. And I'm still able to leave the 'number of attempts' to unlimited.
Quiz
Students unable to see what they got right and wrong
This discussion has been locked so you can no longer reply to it.