Reset next_id on drop