fix SortIndexUpdater bug for missing @id replacement