ENG-4977: calculate correct width of index for pure column index and exp...

...ression index.