Fix bug with counter after adjusting db values.

When calculating hours did not subtract 6 from the current time
in order to get total correct delta.
Merge branch 'master' of https://github.com/wraziens/INFO6130