Fix autoincremented compound keys inserts

When using autoincremented compound keys, an insert operation
would not update the autoincremented value into the object.

Fixes #233