Fix minor bugs with the ratings.
Separate get and set of ratings.