[#2836] Bad values are stored in record when projecting "ambiguous" column names into a generated record - Added failing integration test