Fix bug for not returning text of  child TEXT node