Validate slices eaten/remaining for cake. Fixes #4896