Fixes #7743 - ensure name is unique in scope of major and minor