[engine] Fix porting bug in job submission handler.