Fixed bugs to allow location upload to work on server
Stopped saving blank locations