Fixed small bug when parsing AnnotationSets