The only way to avoid upsetting someone would be to start each party by saying:

"Hi all, could I just hold the run up for a minute or two and ask what sex you all are in real life? I just don't want to upset any sensitive people by calling them she when they're a he or he when they're a she".