Incorrect increment of reference count on persistent type object.