Fixed a bug caused by not checking if a block uses the for counter.
Fix a warning in a nib.