Fixing TransactionalObject race condition.