Hm. You could also change readGeometryFromNode to
```js
var geometry = ol.format.GML.readGeometry_(node, [{}]);
return (goog.isDef(geometry) ? geometry : null;
```