Fixed custom list destructor bug