Uniqueness is maintained now for each hierarchy level of themes.