Terconazole and miscarriage

Has anyone experienced a miscarriage after taking terconazole? My doctor prescribed it to me after a urine test showed some bacteria even though I did not have any symptoms of a yeast infection. I was 5 weeks pregnant at the time and a week later had bleeding. A week after that in my first ultrasound the baby was undersized and had a slow heartbeat (less than 100). Two weeks later the baby had no heartbeat. I have 2 and 5 year olds and this is my first miscarriage. We are devastated especially at the thought that my taking the terconazole 
might have caused this.