DBRepair development

Thanks for trying.

Since the index is ok after the DBRepair fix, I’m now thinking that the subsequent Scan, Refresh Metadata may be reintroducing the index errors.