PLAT-75 fix jobs vs legacyJobs variable usage

/cc @nmonterroso