Just curious if mucus in infant stools are ever normal or are they always a sign of an allergy if BFing?

I've eliminated dairy and soy for about 3 weeks now, but I'm still seeing huge globs of yellow/brown mucus in my DSs poop. It's not green, but definitely mucus and stretchy. Does this mean it could be something else in my diet he's allergic to?