Only filtering geometries if varnish is active

returnGeometry has to be true by default