Fix export of empty or zero coordinates