Handle the case of empty td nodes

i.e. td nodes that do not contain any text nodes