String o2 = p.key();
iter.remove();
FilterCriterion filter = new AndOperation
(new NotOperation(new PropertyEquality("key", o1)),
new NotOperation(new PropertyEquality("key", o2)));
RangeAccess ra = pdir.processes(filter, new DescendingOrder("key"));
List procs = ra.items(0, 10);
Iterator i1 = refList.iterator();
Iterator i2 = procs.iterator();
for (int i = 0; i < 11; i++) {
WfProcess p1 = (WfProcess)i1.next();