Make Job::hasExecutionFlag() actually work