message: Protect against LO categories with no legendaries
diff: @@ -57,9 +57,13 @@ export function filterItems(
  // filter out low-tier items and items without extra perks on them
  if (requirePerks) {
  - filteredItems[bucket] = filteredItems[bucket].filter(
  + const highTierItems = filteredItems[bucket].filter(
  (item) => item && item.isDestiny2() && ['Exotic', 'Legendary'].includes(item.tier)
  );
  +
  + if (highTierItems.length > 0) {
  + filteredItems[bucket] = highTierItems;
  + }
  }
  });
  