Return the submission immediately prior to the given submission.

def later_submission_for_group(submission):
        """Return the submission immediately prior to the given submission."""
        return (Submission
                .query_by(project=submission.project, group=submission.group)
                .filter(Submission.created_at > submission.created_at)
                .order_by(Submission.created_at).first())