Diflucan safe?

Monistat didn't do the trick, so my doctor prescribed diflucan just one dose. I see so much conflicting stuff online and the pharmacist said it increased chance of miscarriage between weeks 7-22. I'm 21 weeks.

Anyone have to take this and it be fine? The pharmacist freaked me out.