Membrane sweeps so early???

Why on earth are people getting membrane sweeps at like 37 or 38 weeks? Why wouldn’t you just wait to see if your baby comes since you’ve got like 2-3 weeks left?