Fix for console/api/log-xpathresult test