When the mucus plug is expelled and is not accompanied by bleeding, you are not yet rendered
niddah. According to most opinions, this would be true even if the mucus plug contained some blood within it, since that blood is not from the uterus.
B’Sha’ah Tovah!