Style
Fix bug where isNameConflict threw an error