Trying to fix the deployed version, handling the nil ratings case