Ultrasound Question

I am 18 weeks and I went in for an ultrasound. The tech started to look for the gender of baby and the baby had the legs crossed. She got a small glimpse between the legs and saw the umbilical cord and she said there was nothing there so she told me it was a girl. She kept looking to see if there was anything there but nothing was there. I go back for anatomy scan in 2 weeks. Any of you ladies had this happen and it came out to be the opposite gender? The whole time baby had her legs crossed when she moved them she would get the umbilical cord view but nothing else.