Fixed problem where dbcache freaks out when the sqlite3 file is deleted