That's a reasonable nitpick, though the Missing Baryon Problem is/was a problem of missing mass, and electron mass is so small compared to nuclei as to be indistinguishable from noise. That's why we often say ordinary matter is "just" baryons, in the same way that galaxies are "just" blobs of stars and gas, with planets contributing neglible mass.