fix broken query
fix broken query

Change-Id: Iba6a99d49588a8e9409b4852443cfbcee03466bc
Reviewed-on: https://gerrit.instructure.com/5213
Reviewed-by: Jacob Fugal <f862f167b85d41b225785c70d70808bc7337c1fe@instructure.com>
Tested-by: Hudson <dfb64870173313a9a7b56f814c8e3b33e268497a@instructure.com>

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