Fixed bug, didnt properly delete last node in list