Fixed problems where a non-PK field named "id" is present.

I had a problem with a table which has PK `entry` and a field named `id`.

When updating field `id`, both `entry` and `id` would be set to the new value. This is incorrect behavior.

This change fixes the problem.