Change name uniqueness condition