[minor/bug] fix api search query for `foundanything` filtering