Get all jobs instead of the last to avoid NPE.