Handle public flag for GPX creation properly.