Array2D: fixed metadata deletion for empty index