Custom handling for empty lists in Select.whereIn