fixed getTail method in MMDLList.