Late pregnancy complications can affect risk estimates of elective induction of labor