late submission message is displayed when appropriate.
late submission message is displayed when appropriate.

fixes CNVS-9378

Some on-time submissions displayed the message,
"Note: This submission was LATE" while other late
submissions did not.

The error was caused by submissions being given a
value attribute of 1, 2, …, an off-by-one-error
which led to this message never being applied to
the last submission, and always being applied to
the last on-time submission when an assignment
had late submissions.

test plan:

1. Create a quiz with a due date and allow multiple
    attempts.
2. As a student take the quiz before the due date.
3. After the due date as the student, take the quiz again.
4. Check speedgrader and confirm that no message is
   displayed below the submission to view dropdown.
5. Confirm in speedgrader that the last submission displays
   the message "Note: This submission was LATE".

Change-Id: I470c20fc7bb161457faa6ddfb92071eacf83ec66
Reviewed-on: https://gerrit.instructure.com/65607
Tested-by: Jenkins
Reviewed-by: Derek Bender <d24d8a7ee520e34b1cec38800225d9f36b552df7@instructure.com>
QA-Review: Jason Carter <976bfc4bed0555ff96b3266aea18e7b17a9d471c@instructure.com>
Product-Review: Strand McCutchen <3926e7f2370f1e7814576250688185c598b36b91@instructure.com>

narigone/canvas,dgynn/canvas-lms,instructure/canvas-lms,instructure/canvas-lms,narigone/canvas,djbender/canvas-lms,instructure/canvas-lms,djbender/canvas-lms,fronteerio/canvas-lms,sfu/canvas-lms,dgynn/canvas-lms,djbender/canvas-lms,grahamb/canvas-lms,roxolan/canvas-lms,venturehive/canvas-lms,HotChalk/canvas-lms,venturehive/canvas-lms,venturehive/canvas-lms,narigone/canvas,matematikk-mooc/canvas-lms,redconfetti/canvas-lms,HotChalk/canvas-lms,narigone/canvas,matematikk-mooc/canvas-lms,sfu/canvas-lms,roxolan/canvas-lms,fronteerio/canvas-lms,leftplusrightllc/canvas-lms,roxolan/canvas-lms,instructure/canvas-lms,sfu/canvas-lms,venturehive/canvas-lms,SwinburneOnline/canvas-lms,instructure/canvas-lms,SwinburneOnline/canvas-lms,grahamb/canvas-lms,snehakachroo1/LSI_replica,leftplusrightllc/canvas-lms,instructure/canvas-lms,fronteerio/canvas-lms,grahamb/canvas-lms,leftplusrightllc/canvas-lms,fronteerio/canvas-lms,SwinburneOnline/canvas-lms,instructure/canvas-lms,HotChalk/canvas-lms,snehakachroo1/LSI_replica,sfu/canvas-lms,SwinburneOnline/canvas-lms,dgynn/canvas-lms,roxolan/canvas-lms,snehakachroo1/LSI_replica,grahamb/canvas-lms,matematikk-mooc/canvas-lms,redconfetti/canvas-lms,djbender/canvas-lms,matematikk-mooc/canvas-lms,dgynn/canvas-lms,sfu/canvas-lms,grahamb/canvas-lms,sfu/canvas-lms,redconfetti/canvas-lms,redconfetti/canvas-lms,snehakachroo1/LSI_replica,sfu/canvas-lms,leftplusrightllc/canvas-lms,HotChalk/canvas-lms