Add missing return statement in duplicate name checking.
Merge pull request #26 from fungus/bugfix_1

Add missing return statement in duplicate name checking.