Doh! Error getting locations from database.