Fixed bug in site name update routine, and added sanity checks for lat/lon entries in sites.py