Favor ids nested to $or/$and filters