corrected the all_names methods in TransactionList and MergeableTransactionlist