don't cause an infinite job loop with automatic_peer_reviews
don't cause an infinite job loop with automatic_peer_reviews

test plan:
* create an assignment with a due date set in the past and
 automatic peer reviews set to be assigned in the future
 (and a number of peer reviews per user greater than 0)
* save the assignment
* check the list of running delayed jobs ("/jobs")
* should resolve the job and not keep queueing itself 5evr

refs #CNVS-18148

Change-Id: I2ee38ca4725fa7629667348592d7e04329655d8e
Reviewed-on: https://gerrit.instructure.com/47719
Reviewed-by: Cody Cutrer <c4fe2b1d90ef8f2548c8aeabfa633434316f0305@instructure.com>
Tested-by: Jenkins
QA-Review: Clare Strong <40d6bb3ed7fef516c73274131d5a837c16de74fd@instructure.com>
Product-Review: James Williams  <3a5f4ed991dbfa5c9ef76ad729d240ca12f62180@instructure.com>

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