Fix AverageServiceFrequency calculation.