This MR is to fix an error, when submitting with maxEventCount option, the submission jobs are duplicated.