'next' button on modules not working for items
'next' button on modules not working for items

If the next button is pointing to an item in the
same module instead of the next module, then the
link was incorrect.

fixes #4008

Change-Id: Iaa52567c417a52e2de0d47e7df70b7cff711ee68
Reviewed-on: https://gerrit.instructure.com/2638
Tested-by: Hudson <dfb64870173313a9a7b56f814c8e3b33e268497a@instructure.com>
Reviewed-by: Zach Wily <9de8c4480303b5335cd2a33eefe814615ba3612a@instructure.com>

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