Fixed a fairly egregious matching bug: @0 was not restricting matched nodes to leaves.