Fix half-phrase error for TreeFindPhrase().