Variable decreasing incorrectly in review layers when clicking the back button
I have been working on a quiz for a while now and just when I thought I had it ready, I came across an issue that I want to solve in elegantly.
The quiz has a review layer where I have inserted back and forth arrow. Now on each base layer (10 slides) I have put the variables correctly for the score and for the question number so I have no problem. However, once the student takes the quiz after two attempts and the review option shows up, and she/he starts reviewing and say, tries to click on the back arrow, the question number increases. Keeping in mind that I do have the variable on the results slide that resets itself to 0 when user clicks review and also all my questions are in a bank, getting picked up randomly, is there an elegant way to go down in number when the back arrow is clicked in the review layer, aside from substracting 2. (Also, I do not have master slide).
Thank you very much. I appreciate your inputs!