Fix MappingContext and Type unique index