fix potential inf hang if feature lacks geometries