Fix the dimensionUsingBand to actually use the column index defined inst...

Fix the dimensionUsingBand to actually use the column index defined instead of the list index.