Fixed an issue with calling the wrong $job