Change Ids Query to Ids Filter