PIM-2795: Fix error using job type