Preserve hidden primary key when altering table

Looks like IntervalMatrixCreator does but nowhere actually invokes that.