"Read or wrote an unreadable key" when read and then write versionstamp value

I just hit one strange limitation: i can’t read versionstamped value (from previous tx!) and then write new value.

Code is very simple, but it is not working am i missing something?

await inTx(async (tx) => {
       let value = await tx.get(<key>);

Sorry, it was bug in my code. :sweat_smile: