Refactoring SubmissionDAO deleteByContextId