FIX: modify lookup impl for set and intset