Fixed the handling of SortedIndexes to use the already transformed data for Date indexes