Magento: Rating showing twice on product pages

We came across an issue recently, where the customer’s product pages review section was showing the rating stars twice. We tried to locate the issue, but nothing seemed to work. Finally found out the fix .

Just goto the phpmyadmin and run this SQL query,

TRUNCATE  `rating_option_vote` ;
TRUNCATE  `rating_option_vote_aggregated` ;