Fixed an issue with longitude and latitude being put in the wrong fields in the db