Deselect photos based on unavailable lens

Hello,

So I usually batch over a thousand photos from the camera to process. However, for some reason the 400 f2.8 IS II is available on the R5, but not with the 1.4x and 2x extenders. So half my images are getting set to use the 400 f4 DO + 2x. I want to just not process the photos that don’t have a module available, but the only ‘sort’ i can see is date or name.