Uterine lining shedding while pregnant

Anyone have any idea what this could be? After I had sex this came out. I am 26 weeks pregnant. It seems to be uterine lining but there isn't any blood. Could it be a bad sign? The cervix is quite large, I can fit my finger inside.