Deleted keys and key only iteration

The behavior would be the same whether the dataset is small or large.