When checking for duplicate anchors, the component number should be taken into account since the same anchors can be used for different components i.e. over ligatures.