Fixed SQLite incompatibility