Fix RetainOp accumulation