Fixed tx cache issue where a value could be updated after putting it into
  the cache causing an attempt to read the original to get an updated value