Fix ts_index task