Catch getHistoricValue() errors.
Correct SQLite database update for version 1.1