Fix bz set iteration change
Merge pull request #1229 from psav/fix_bz

Fix bz set iteration change