Fixing how to calculate Job.duration so it can be supported by Python 2.6.