Fix the percentage calculator in the results