It is, but I'd encourage you to examine that a bit more from the perspective of the person weighing in. Yes, you meant nothing by the question, and you would have asked it regardless of the other person's gender, but what is interesting is -someone got defensive-. Why? She's hypersensitive; is it more likely she got that way apropos of nothing, that she has just bought into some victim culture that is determined to create claims of systems issues wholecloth to rail against, or because she -has- run into misogyny enough times that she assumes the worst?
Again, it's not reflective of you, but take an empathetic view to where people like that are coming from, as it's not a vacuum.