fix off by one error in worker activity times
Merge pull request #2038 from dimagi/activity-times

fix off by one error in worker activity times