On the Metal Richness of M Dwarfs with Planets