jobtools.py bug fix for previous commit.