That's possible, but I really don't know if that had anything to do with it, or if she is just dropping worms. Do a thread search to see what round worms look like. I'm guessing that is what she has. IMO, you can worm her if she is setting. Better to do so now, than wait till the chicks hatch. You can use a regular helminthicide, go with a natural approach which includes herbals, pumpkin seeds, and garlic, or do nothing. One thing I'd not do is give her anything which will make her stools looser than normal. You don't want to risk having her defecate in the nest and dirty the eggs.