Fixed job queue problems.