Fixes to alter table. (2)