while (i.hasNext() && processed <= max2Process)
while (i.hasNext() && processed < max2Process)
    public static void applyFiltersAllItems(Context c) throws Exception    {        ItemIterator i = Item.findAll(c);        while (i.hasNext() && processed <= max2Process)        {        	applyFiltersItem(c, i.next());        }    }