In the 'Generate Filtered List...' screen, you could try using the 'Only if better than parent' Clone Filter.
I say 'try using' because I have not used this with recent versions of Mame, so some of the -listxml etc. changes may have broken this.
Alternatively manually (using the Games List Options menu) add a working version of that game to your list, and manually remove the non-working one!