BV itself can cause miscarriage. In other words, not the medicine but the infection. If you want to rule out miscarriage, get an early-results pregnancy test and take it in the morning to see if it can find evidence that you are or were pregnant. Use concentrated urine.
Did your dr know your were pregnant, normally they went give medicine that puts you're baby at risk if they know your pregnant