Allow geometryFunction to return undefined