Added previous pay periods to the total_hour API