Should always have parentNode, check for data instead.