fix deleteVertex for POLYGON and MULTILINESTRING