public void removeQuery(String name) {
		try {
			Node setting = Utilities.selectSingleNode(this.doc, "/c:settings/c:queries/c:query[@c:name='" + name + "']", this.namespaces);
			if(setting != null) {
				setting.getParentNode().removeChild(setting);
				save();
			}
		} catch (XPathExpressionException e) {
			logger.warn("Unable to rremove query: " + name);
		}
	}