use insertUnique so that we get Nothing instead of exception on dupicate
transction ids.