Fix order of jobs applying.