Fixes #399: Cannot update identity column with int primary key