Recent bacterial vaginosis is associated with acquisition of Mycoplasma genitalium.