Restrict null primary keys on update/delete, resolves #203