fixes sporadic failures when comparing dates
fixes sporadic failures when comparing dates

test plan
 * fix test
 * test should pass

Change-Id: I863371e59956757b79291f58ecf88f446166e45a
Reviewed-on: https://gerrit.instructure.com/8866
Tested-by: Hudson <dfb64870173313a9a7b56f814c8e3b33e268497a@instructure.com>
Reviewed-by: Bracken Mosbacker <48b846001bca4166dc3fb7711563afc17525921e@instructure.com>

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