Having certain uterine abnormalities or a weak or abnormally short cervix (known as cervical insufficiency).