Extract transaction updating methods.
Create separate function for repair that always sets properties.
Don't remove all transanctions before repairing.
Remove transactions that can't be matched.
#375: Make rebuilding transaction list less destructive.