The problem is that the condition is parsed as
(user=671156 AND permission=16 AND org=101) OR 102
The right way is to use something like org IN (101, 102)