Fix brokenness when jobId is null.