is Azithromycin safe during pregnancy?

I was prescribed Azithromycin for an infection and I am 8w5d pregnant. My doctor said it would be fine but I googled it and the first thing that popped up was a 65% increase in miscarriage.........Now I dont want to take it........