in cases where there are more than a single record, getClosestCity now uses distance comparison