corrected conditional which determines whether to geolocate address or not