Bonds are no longer part of fragments; bond['atom1'] is now bond['a1'].