How to fix SQLITE_RANGE: 2nd parameter to sqlite3_bind out of range in SQLite | DevErrors