Fixed compatibility with earlier versions of go-opencalais