Fixed SQLite insert