Add check for duplicate column names