Fix issue where the el property of a CustomXmlElement ended up holding a CustomXmlElement rather than a SimpleXmlElement