fix quiz statistics csv for quizzes with question groups, fixes #4310
fix quiz statistics csv for quizzes with question groups, fixes #4310

Change-Id: If06a54d58657b0ee56eb6079c8c1f99fec5a1dcb
Reviewed-on: https://gerrit.instructure.com/3290
Tested-by: Hudson <dfb64870173313a9a7b56f814c8e3b33e268497a@instructure.com>
Reviewed-by: Brian Whitmer <760e7dab2836853c63805033e514668301fa9c47@instructure.com>

wye0220/shindig-canvas,Rvor/canvas-lms,arrivu/arrivu-lms,HotChalk/canvas-lms,utkarshx/canvas-lms,tgroshon/canvas-lms,samuels410/greatlakes-lms,instructure/canvas-lms,samuels410/greatlakes-lms,whalejasmine/canvas-lms,fronteerio/canvas-lms,grahamb/canvas-lms,samuels410/greatlakes-lms,redconfetti/canvas-lms,Unow/ins,AndranikMarkosyan/lms,arrivu/qibla-ecampus,instructure/canvas-lms,sfu/canvas-lms,va7map/canvas-lms,sfu/canvas-lms,sfu/canvas-lms,em2/canvas-lms,sfu/canvas-lms,leftplusrightllc/canvas-lms,Rvor/canvas-lms,venturehive/canvas-lms,sdeleon28/canvas-lms,greyhwndz/canvas-lms,sli7246/canvas_branch,kyroskoh/canvas-lms,juoni/canvas-lms,roxolan/canvas-lms,arrivu/hoodemo,sdeleon28/canvas-lms,nditech/red-innovadores-lms,sfu/canvas-lms,instructure/canvas-lms,arrivu/hiring-site,kyroskoh/canvas-lms,narigone/canvas,venturehive/canvas-lms,instructure/canvas-lms,djbender/canvas-lms,djbender/canvas-lms,antoniuslin/canvas-lms,redconfetti/canvas-lms,loganrun/pincan,gbleydon/canvas-lms,narigone/canvas,shidao-fm/canvas-lms,leftplusrightllc/canvas-lms,matematikk-mooc/canvas-lms,AndranikMarkosyan/lms,dgynn/canvas-lms,matematikk-mooc/canvas-lms,skmezanul/canvas-lms,grahamb/canvas-lms,merichar/canvas-lms,ShreniiNepal/shrenii_lmp,leftplusrightllc/canvas-lms,snehakachroo1/LSI_replica,usmschuck/canvas,snehakachroo1/LSI_replica,snehakachroo1/LSI_replica,Jyaasa/canvas-lms,dgynn/canvas-lms,arrivu/arrivu-lms,merichar/canvas-lms,landonwilkins/canvas-lms,merichar/canvas-lms,parbros/red-innovadores-lms,AndranikMarkosyan/lms,Unow/canvas-lms,whalejasmine/canvas-lms,ShreniiNepal/shrenii_lmp,shidao-fm/canvas-lms,sli7246/canvas_branch,fronteerio/canvas-lms,va7map/canvas-lms,faraazkhan/canvas,narigone/canvas,matematikk-mooc/canvas-lms,matematikk-mooc/canvas-lms,dgynn/canvas-lms,wrdsb/canvas-lms,HotChalk/canvas-lms,loganrun/pincan,sfu/canvas-lms,jay3126/canvas-lms,icelab/canvas,skmezanul/canvas-lms,va7map/canvas-lms,icelab/canvas,usmschuck/canvas,skmezanul/canvas-lms,tgroshon/canvas-lms,utkarshx/canvas-lms,venturehive/canvas-lms,parbros/red-innovadores-lms,usmschuck/canvas,antoniuslin/canvas-lms,redconfetti/canvas-lms,wimemx/Canvas,venturehive/canvas-lms,snehakachroo1/LSI_replica,faraazkhan/canvas,samuels410/greatlakes-lms,wrdsb/canvas-lms,ankithbti/canvas_lms,juoni/canvas-lms,efrj/canvas-lms,Rvor/canvas-lms,wimemx/Canvas,skmezanul/canvas-lms,arrivu/hiring-site,fronteerio/canvas-lms,HotChalk/canvas-lms,parbros/red-innovadores-lms,Jyaasa/canvas-lms,wye0220/shindig-canvas,ankithbti/canvas_lms,jay3126/canvas-lms,sdeleon28/canvas-lms,arrivu/hoodemo,nditech/red-innovadores-lms,tgroshon/canvas-lms,greyhwndz/canvas-lms,arrivu/qibla-ecampus,HotChalk/canvas-lms,ShreniiNepal/shrenii_lmp,arrivu/hiring-site,jay3126/canvas-lms,SwinburneOnline/canvas-lms,landonwilkins/canvas-lms,grahamb/canvas-lms,grahamb/canvas-lms,ottenhoff/canvas-lms,wimemx/Canvas,sdeleon28/canvas-lms,whalejasmine/canvas-lms,wye0220/shindig-canvas,djbender/canvas-lms,ShreniiNepal/shrenii_lmp,grahamb/canvas-lms,rup/Tarrax,gbleydon/canvas-lms,usmschuck/canvas,djbender/canvas-lms,SwinburneOnline/canvas-lms,narigone/canvas,greyhwndz/canvas-lms,efrj/canvas-lms,Unow/ins,efrj/canvas-lms,eCNAP/CANVAS,fronteerio/canvas-lms,nditech/red-innovadores-lms,shidao-fm/canvas-lms,Unow/ins,jay3126/canvas-lms,arrivu/hoodemo,tgroshon/canvas-lms,efrj/canvas-lms,sfu/canvas-lms,ottenhoff/canvas-lms,arrivu/arrivu-lms,wrdsb/canvas-lms,leftplusrightllc/canvas-lms,arrivu/qibla-ecampus,sli7246/canvas_branch,em2/canvas-lms,eCNAP/CANVAS,Jyaasa/canvas-lms,kyroskoh/canvas-lms,icelab/canvas,landonwilkins/canvas-lms,SwinburneOnline/canvas-lms,SwinburneOnline/canvas-lms,dgynn/canvas-lms,kyroskoh/canvas-lms,wrdsb/canvas-lms,ottenhoff/canvas-lms,juoni/canvas-lms,juoni/canvas-lms,loganrun/pincan,antoniuslin/canvas-lms,whalejasmine/canvas-lms,roxolan/canvas-lms,arrivu/jigsaw-lms,instructure/canvas-lms,em2/canvas-lms,ankithbti/canvas_lms,AndranikMarkosyan/lms,roxolan/canvas-lms,eCNAP/CANVAS,arrivu/jigsaw-lms,eCNAP/CANVAS,utkarshx/canvas-lms,rup/Tarrax,Unow/canvas-lms,Unow/canvas-lms,va7map/canvas-lms,roxolan/canvas-lms,faraazkhan/canvas,nditech/red-innovadores-lms,landonwilkins/canvas-lms,redconfetti/canvas-lms,instructure/canvas-lms,utkarshx/canvas-lms,shidao-fm/canvas-lms,instructure/canvas-lms,antoniuslin/canvas-lms,greyhwndz/canvas-lms,arrivu/jigsaw-lms,gbleydon/canvas-lms,Rvor/canvas-lms,Jyaasa/canvas-lms,rup/Tarrax