Well, first of all, what do you think?
I would guess it's because mercury is very nonreactive seeing its relatively high standard reduction potential, so it probably doesn't react in the body. Also, the problem said mercury ions were dangerous, while liquid mercury is composed of electrically neutral atoms which are hard to oxidize.
However, that's really really
really just a guess. Someone more knowledgeable than me would probably know