Can bacterial vaginosis keep you from getting pregnant?

Me

My husband and I are wanting to tey for another baby and i am very prone to bacterial vaginosis which i am taking flagyl now for that plus the gel. Just wondering if bacterial vaginosis affects fertility?