Polygon index returns group id instead of polygon id