Fix xpath for hasProperty command