Corrected an issue when calculating the analytic results.