Fixed saving of optional columns.