Fixed duplicate key exception

Catches exception when a duplicate key is added to Dictionary
representing target entry.