Add indices to eliminate the worst full table scans during delete and ex...

...port. This doesn't guarantee elimination of all table scans. But it does eliminate the worst offenders.