Prevent overlapping subcategories and functions links