Fix error 500 in csv export when someone has started the quizz and not finished it (no end date)