Some error checking on lat/lng