That doesn't always work. First time I met this lady I commented that her son was cute. After all, it was wearing blue clothes (Hand me downs from big brother) and it's name was Jordan (spelled Jordynn). I'm pretty sure she instantly didn't like me, but how was I supposed to know that it was a girl?!
No doubt...that wasn't your fault. LOL I've seen toddler boys with long hair before and thought they were girls. :P As for names, yeah same thing. I actually grew up with these two sisters named Michael and Randi. I'm not sure if their mom was wanting boys both times or what. LOL Luckily they both turned out pretty feminine.