Bug 947383 - search by multiple ids with OR/AND execution