Fixed bug for when ratingcache does not exist.