Minor fixes for issue caused CmsJobManagerJobs not to start properly.