Fix how children are searched by xpath.