ref_transaction_commit(): use a string_list for detecting duplicates