minor bug fix: Element#delete works with an xpath passed into it