Make plugin also work with features without geometries