readAllItemsOfCollection code review fix