Corrected possible segfault during initialization of search from XPath.
*** v4.0.7 - Modified CHANGELOG.