fixing bug where multiple digests in a single transaction clobbers version and timestamp