Yeah that can happen too. But again - very rarely. The trick is finding out which ingredient she was allergic too, and then finding a vaccine that doesn't use that that substance as an excipient. A fair proportion of the time - any reaction is to the non active ingredient in a jab.
I'm allergic to nickel for example. So I'd have to be careful if I ever had anything like a hip replacement because if the materials they sometimes use.