Fix #140; refactor redundancy checks in MealScheduleFactory