Fixing to work with updated jobTree