HORNETQ-1370 - applying fix on XMLExporter on the right place