Fixed collection iterations in console controller.