DESELECTOTHERTYPE with a filter?

  1. Select *.jpg DESELECTNOMATCH TYPE=files DESELECTOTHERTYPE
  2. Select FILTER myfilter DESELECTNOMATCH TYPE=files DESELECTOTHERTYPE

(1) correctly deselects any selected folders
(2) does not

In both cases files are selected as expected according to the pattern or filter

I don’t think that combination of args is supposed, but you could either make the filter exclude folders or deselect all folders via a second select command after selecting with the filter.