Advanced API filter combining AND and OR

this seems to solve it for me: