Fix for atomtypes that have the same atom name and bond type.