Cast and concatenate multi-column attributes correctly.