ResultsExportXML fix - using empty causes problems on php 5.3 and 5.4