Fixed the allergy attribute so that it saves correctly.