Fixed schema pruning for iterations