Fix out of bounds exception when loading annotations with unknown identifiers.