Fixed KeepSortedRows