Fixes issues with rating.