Fixed bug when rating was missing