Fix the Grading Completed At timestamp logic.

@wedaly @ormsbee 

Fix and test to ensure that open assessments are not included when counting the number of remaining assessments a student requires.