If your mucus plug passed can you take a bath?

I was told by my midwife that it's fine to have a bath after you have lost mucus plug, because baby is still protected by amniotic sac.