Add logic to Flatfile Datastore to only log each transaction id once