Fixed more bugs concerning the Job class.