fix invalid context_tags.context_module_id queries
fix invalid context_tags.context_module_id queries

fixes CNVS-5186

Change-Id: I6e67f413a3b511b5f64aa293e1ab03459dc1cd37
Reviewed-on: https://gerrit.instructure.com/34517
Tested-by: Jenkins <d95b56ce41a2e1ac4cecdd398defd7414407cc08@instructure.com>
Reviewed-by: Cody Cutrer <c4fe2b1d90ef8f2548c8aeabfa633434316f0305@instructure.com>
Product-Review: Rob Orton <7e09c9d3e96378bf549fc283fd6e1e5b7014cc33@instructure.com>
QA-Review: Rob Orton <7e09c9d3e96378bf549fc283fd6e1e5b7014cc33@instructure.com>

AndranikMarkosyan/lms,samuels410/greatlakes-lms,grahamb/canvas-lms,snehakachroo1/LSI_replica,usmschuck/canvas,utkarshx/canvas-lms,instructure/canvas-lms,wye0220/shindig-canvas,juoni/canvas-lms,usmschuck/canvas,eCNAP/CANVAS,fronteerio/canvas-lms,grahamb/canvas-lms,instructure/canvas-lms,gbleydon/canvas-lms,usmschuck/canvas,samuels410/greatlakes-lms,SwinburneOnline/canvas-lms,instructure/canvas-lms,gbleydon/canvas-lms,ShreniiNepal/shrenii_lmp,wrdsb/canvas-lms,fronteerio/canvas-lms,sfu/canvas-lms,venturehive/canvas-lms,wrdsb/canvas-lms,roxolan/canvas-lms,snehakachroo1/LSI_replica,utkarshx/canvas-lms,grahamb/canvas-lms,instructure/canvas-lms,efrj/canvas-lms,va7map/canvas-lms,sfu/canvas-lms,SwinburneOnline/canvas-lms,HotChalk/canvas-lms,AndranikMarkosyan/lms,sdeleon28/canvas-lms,juoni/canvas-lms,Unow/canvas-lms,matematikk-mooc/canvas-lms,antoniuslin/canvas-lms,matematikk-mooc/canvas-lms,redconfetti/canvas-lms,antoniuslin/canvas-lms,wye0220/shindig-canvas,skmezanul/canvas-lms,Rvor/canvas-lms,narigone/canvas,Unow/canvas-lms,shidao-fm/canvas-lms,samuels410/greatlakes-lms,Jyaasa/canvas-lms,narigone/canvas,jay3126/canvas-lms,leftplusrightllc/canvas-lms,eCNAP/CANVAS,shidao-fm/canvas-lms,wye0220/shindig-canvas,greyhwndz/canvas-lms,SwinburneOnline/canvas-lms,dgynn/canvas-lms,sdeleon28/canvas-lms,ShreniiNepal/shrenii_lmp,usmschuck/canvas,AndranikMarkosyan/lms,roxolan/canvas-lms,samuels410/greatlakes-lms,greyhwndz/canvas-lms,snehakachroo1/LSI_replica,HotChalk/canvas-lms,antoniuslin/canvas-lms,leftplusrightllc/canvas-lms,redconfetti/canvas-lms,eCNAP/CANVAS,gbleydon/canvas-lms,juoni/canvas-lms,kyroskoh/canvas-lms,matematikk-mooc/canvas-lms,Jyaasa/canvas-lms,wrdsb/canvas-lms,grahamb/canvas-lms,dgynn/canvas-lms,grahamb/canvas-lms,jay3126/canvas-lms,skmezanul/canvas-lms,whalejasmine/canvas-lms,leftplusrightllc/canvas-lms,jay3126/canvas-lms,Unow/canvas-lms,Jyaasa/canvas-lms,tgroshon/canvas-lms,skmezanul/canvas-lms,kyroskoh/canvas-lms,antoniuslin/canvas-lms,jay3126/canvas-lms,instructure/canvas-lms,utkarshx/canvas-lms,SwinburneOnline/canvas-lms,efrj/canvas-lms,sfu/canvas-lms,narigone/canvas,venturehive/canvas-lms,utkarshx/canvas-lms,kyroskoh/canvas-lms,Rvor/canvas-lms,dgynn/canvas-lms,instructure/canvas-lms,sdeleon28/canvas-lms,wrdsb/canvas-lms,AndranikMarkosyan/lms,redconfetti/canvas-lms,greyhwndz/canvas-lms,HotChalk/canvas-lms,sfu/canvas-lms,tgroshon/canvas-lms,whalejasmine/canvas-lms,ShreniiNepal/shrenii_lmp,Rvor/canvas-lms,eCNAP/CANVAS,tgroshon/canvas-lms,matematikk-mooc/canvas-lms,skmezanul/canvas-lms,Rvor/canvas-lms,whalejasmine/canvas-lms,va7map/canvas-lms,djbender/canvas-lms,sfu/canvas-lms,instructure/canvas-lms,HotChalk/canvas-lms,efrj/canvas-lms,juoni/canvas-lms,roxolan/canvas-lms,roxolan/canvas-lms,fronteerio/canvas-lms,dgynn/canvas-lms,redconfetti/canvas-lms,djbender/canvas-lms,djbender/canvas-lms,narigone/canvas,tgroshon/canvas-lms,sfu/canvas-lms,sfu/canvas-lms,va7map/canvas-lms,whalejasmine/canvas-lms,Jyaasa/canvas-lms,leftplusrightllc/canvas-lms,venturehive/canvas-lms,kyroskoh/canvas-lms,snehakachroo1/LSI_replica,ShreniiNepal/shrenii_lmp,shidao-fm/canvas-lms,efrj/canvas-lms,shidao-fm/canvas-lms,greyhwndz/canvas-lms,venturehive/canvas-lms,fronteerio/canvas-lms,sdeleon28/canvas-lms,djbender/canvas-lms,va7map/canvas-lms