Handle null geometries