Any people doing any automatic assuming likely also assumed the person is white, not homeless, well dressed, no mental health issues, and so on. It’s how things work. There’s so few people who actually feel the way you’re describing things.
Being sexist and having implicit biases is not the same thing.
The OP did apologize for getting the gender wrong so happy ending there.