Fixed the insert statements in the contract to SQLite syntax compatible
with SQLite 3.7.4