Some units don't contain GPS coordinates. Added check for not letting any "undefined,undefined" stuff to files.