@tanguatlay,
As I've mentioned before,
correct is often not an accurate word to use when asking about different uses in language.
I'd not look, as I think you are, MsTan, for grammatical reasons for one choice over the other. I'd say that word choice, and therefore, semantics are making the decision here.
2. I don't know why so many people were offended by my remark. If I had known they would have
ended up being offended, I would have said 'crying in a helicopter' instead of a BMW.
I'm not completely sure that 'would have been offended" is impossible here, I can't see any grammatical reason to prohibit it, though I'll agree that it isn't as likely.
A: Who would have ever thought that they would actually have been offended.
B: Yeah, for sure. If I had known they would have been offended, I would have said 'crying in a helicopter' instead of a BMW.
In this scenario, the speaker focuses on the past action, "them being offended", while in #1, the focus is more on their state "of being offended".