I make sure that `index_types` is converted to `Tuple`.