Fix bug in MVStore when creating lots of temporary tables, where we could run out of transaction IDs.