Fix for multiple nodes from xpath query