Fixing insertion into database: autoincrement id.