Fixed the indexing problem for xcmsSet objects.