When generating the list of transactions to look at, a GList was used to keep a list of transactions already processed. Change this to use a hash table instead as it is quicker.