Small fixes to the geofiltering support in the api