Cancel test but still reports as taken with zero score

I set up a final exam (test) for a student to complete. In our course, the student has the choice of submitting or not submitting the score, with the idea that maybe they want to retake it if the score is too low. If they decide not to submit, I set an action onshow reset the final exam, basically putting a zero in the final_exam_score variable. I also had to force the AICC_Score to be zero because for some reason it was picking up the previous value of the final_exam_score. Additionally, I also set the AICC_Lesson_Status to incomplete just to make sure.



Problem

However, although the LMS shows the course as in progress, in the report it shows the score as zero as if the test has been taken with a zero score and if the test is completed.



Any suggestions anyone?