Changed queue array to a java arrayList. On CF9 arrays are not passed by reference, so queue object will not change (discard rules)