fix error in geoblock? method to check if locations are empty instead