Fix NPE, when no extent is returned from PostGIS table.