Improve printing of index_var chains.