Fixed two bugs: WikidataDao closed cursor, PostGIS missing an index.