Add path filter to categories collection to prevent loading categories from other root categories.
Delete index if entire should be cleared.
Double check category name before adding to the list of product categories.