More OR query support, now for process instances

More OR query support, now for process instances