fixed adding and removing of allergy assignments