Fix typo in optimistic insertion.