Fixed so that Hamcrest's hasXPath() and not() can be combined (issue 215)