Poop question TMI

Kristi
Hey ladies! I'm a little concerned about my baby. She has been a little constipated for a few days. Very small dirty diapers with modeling clay consistency. Yesterday she was grunting and crying trying to go. I gave her 2.5ml of milk of magnesia and a couple hours later she had a regular sized movement. She's been a happy baby again. Now, this morning she had a large movement that was much looser and had dark green mucus in it. Shes almost 4 months old and formula fed. Should I be concerned or could this be from the milk of magnesia?