Bug fix to handle "Item" xpath result type