That's a valid point! It could be. I wasn't offended, but it's an anecdote that supports the idea that women aren't seen as being programmers. Other examples: going to conferences and being asked if I was covering it for a blog. Also not a big deal, but it illustrates the stereotype.
Likewise, if a man goes to a nursing conference, or a conference for elementary school teachers, he will likely face the same sorts of misunderstandings.