Dumb question but I'm curious...

If your cervix is closed before ovulation then how do women get pregnant 1-7 days before ovulation?