Re: Import Transactions
When I run into corruption issues (almost always my own doing), I usually try to use the usual FA web interface to remove the transactions, because it usually is tolerant of the corruption and often cleans it up correctly. And if it leaves any residue, the residue is usually easy to remove with mysql or phpadmin.
This is often easier than trying to repair the damage. Afterwards, you would then recreate the transactions correctly.