Fix multiple destructor bug, pointer was not incremented in ~scoped_destructor_n()