Fixed SQLite error.