Second last_id example fixed