Fixed call to iteritems