Fix a type error on add-primary-key-clause.