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