Small fix in case of no gmfs
Fixed the XML export