Fixed issue with removing all elements from legs