withColumns function returns the wrong column number if the headers are the same in multiple columns.
Previously this dataset had a column with header Country (the same as column 1 and column 4) and it gave the wrong result until the header was changed.
rough code to test:
dataset.withColumns(['#country+code'].forEach(function(row,col,rowindex){
console.log(col)
});
Output gave column number as 1, but was expecting 4.