Fix behavior when XML is broken