Added checks to the rating submission page to avoid null values for required fields.