Fix OperationIterable looping logic

JAVA-1546