fixed issue with referencing quiz rather than quizresult
attempt marker fix