Some people convince themselves they are allergic to something even when they're not.
If they know they have eaten a particular food, they will be sick.
But if it's been hidden or disguised, they'll be fine. This is called food aversion, and it's very difficult to convince these people that they're not allergic.