Fix bug in ColumnFactory.