Macrobid in first trimester

I am 11 weeks. My OB prescribed Macrobid for a UTI (E. coli and citrobacter koseri) but when I went to pick it up, the pharmacist said not to take it in the first trimester. Has anyone else been prescribed Macrobid in the first trimester and everything turn out okay?