Fix calculation of total monthly hours