Fixed "is_escenic_xml_ok" function to sometimes return 1