Prepend should aware about text nodes