Uncooked lemon bars

Ugh I made lemon bars and may have undercooked them there are 4 eggs in the recipe. The lemon part never set. That’s the part that contains the eggs. I had it in the oven for 20 mins. The correct time. I tried a couple pieces to see if it was just a certain side that didn’t set. Did I expose my self to listeria or salmonella? I have been eating great my whole pregnancy and hope I didn’t mess it up or harm my baby because the eggs. 38w. FTM.