From the little bit of reading I just did, it sounds like only some people with peanut allergies will also experience reactions to other legumes - my brother being one of the unlucky few. I do not believe it was contamination as it was behind a bar vs a kitchen, but no one knows for sure.
Are you sure there wasn't a contamination issue?