Check for duplicate names in Can't Convert

Fixes #1804