CORE-4897: fixed a job status translation bug and removed some debugging code