Sub-categories with same basename but different parents should be unique