Fixed issue with column names with same name overwriting each other.