Change in ovirt-engine[master]: core: change while loop to foreach