Fix append function for some cases (text node, some other)
1.0.18