Added support for calculating hours worked for past N days.