Fixing problem where coded allergen cannot be saved