fix an issue in ColumnsVisitor for Unions