Fix typo when altering table primary keys