Fixed bug with GPX export of merged files