Fixed an SQL bug that was hiding all student submissions of an
assignment once I'd graded any students assignment.