Fixed a bug in handling of xpath when xml includes namespaces