Fixes to alter table.