Fixed bug with creating type mapping in annotations index