Fixed when updating weights from existing foods