Added fix code to datascraper.py to work around glitches in the SQLite progress database.