centipede and milipede are weirdo games in MAME.
If you look at the data generated by MAME, for the controls that the game uses, you will see:
<input players="2" buttons="1" coins="2" service="yes" tilt="yes">
<control type="joy8way"/>
<control type="trackball" minimum="0" maximum="255" sensitivity="50" keydelta="10" reverse="yes"/>
</input>
joy8way? WTF is that all about?
I've never understood why that's there, but it's been there for years.
I suspect in your original search query, you did a search for trackball games but NOT 8-way joystick games, thus the 'pedes got filtered out. Syph007's query works because it is not removing the 8ways.