Fixed calculation of meal ratings