Was the doctor wrong?

I had a vaginal swab when the OB checked to see if my cervix was closed. She looked in and told me I definitely had thrush then did the swab. I got the swab results back and the midwife said it said no growth. Does that mean I never had thrush? Or does thrush not show on a swab because I thought that was the whole point of it.