Fix rate calculation to account for average stats.