Added null check to avoid errors in stats when there are users that have
not answered any questions.