Handle lookups larger than 100 ids