fixed issue with deleting child elements of list parent