Moodle 3.6

I would like to re-open some of my quizzes to allow students to
take each quiz a second time, to improve their grades. I am using the
"select a random question for this category" feature on all my quizzes.
I have a category for each quiz question, and within each category,
there are 4 different versions of the same question (different geometry,
dimensions, etc.) so that for every quiz question, each student is
randomly assigned a different version of that question.

Students
have already completed one attempt for each quiz, so each student has
seen one version of each question. For the second attempt, is there a
way I can configure the quiz questions so that each student gets a
different version of the question than they got in their first attempt?