Is the issue of pregnant women stepping on nails only with bare feet?
Not that I am aware of. The sources for not throwing one’s nails out ( Niddah 17a) are talking about throwing them in the street. It is the norm for people to walk with shoes etc. on thier feet when in the street, and no one says that it is only for a woman who doesn’t have shoes on.