Any food that is "safe" and kept not contaminated (IE, don't dunk your chicken drumstick in the mayonaisse jar directly) will remain safe until it expires if it is kept as recommended - ie IN the fridge.

Really don't work yourself up about it.

Avoiding it is about using common sense and logic. It is not that complicated.
Always wash fresh fruit and veg before preparing them - ESPECIALLY melons and large fruits which people tend not to wash.
Store food correctly.
Eat all left overs within 24 hours ither cold from the fridge or reheated thoroughly if necessary.
Avoid high risk foods as per your discretion. (like the ones you listed above)
And ensure all foods you eat are prepared in a safe and hygenic manner, and all your utensils etc washed and stored hygenically.e
All of which (bar the high risk foods) are things you SHOULD be doing on an everyday basis to avoid regular forms of food poisoning.

HTH. Honestly, it is not rocket science. Be hygenic always, pregnant or not.