datastore: fix - mark transactions as finalized.