exploded ham bits in microwave?

Is it safe for me to cook food in my microwave after my sister cooked ham in there? there were ham bits in the microwave that i didn't notice till after i heated my mac and cheese in there. Is it safe? could i get listeria if that ham had listeria?