Problem is that neither midgets [sic] nor pygmys are terms that refer to race. A little wiki-ing will help:
Midget
”...In the 19th century and the first half of the 20th century, midget was a medical term referring to an extremely short but normally proportioned person, and was used in contrast to dwarf, which denoted disproportionate shortness.”
and
Pygmy
“Pygmies (singular: Pygmy) refers to various peoples of central Africa whose adults have an average height of 150 centimetres (4 feet 11 inches) or shorter.”
The term Pygmy, while considered pejorative by today’s standards, is still used to refer to a group of ethnicities from that central coast region of Africa, but the term has not been replaced in language by another more proper identification (gleaned that from the wiki).
By contrast, I have been in situations where I have interacted with dwarfs and midgets, and believe me, they do want to be distinguished by their correct name.
Haven’t met a pygmy though, so suffice it to say, I’m coming up short in that area…