core-5811 fix id vs path issue for search results.
core-5807 fixed advanced search for negated query.