Now recurses up the tree when searching for a string