Incorrect repetition behavior

I believe there is incorrect repetition in conjunction with on/ifPart behavior.
Steps to reproduce according attached cmmn model:

  1. Complete task ‘A’ with variable result = ‘C’. There is 1 case execution instance ‘B’ in available state as expected.
  2. Complete task ‘a’ with variable result = ‘B’. This end-ups with 1 case execution ‘B’ in available state (as expected) and 2 case executions ‘B’ in active state (expected 1)

repeat

repeat.cmmn (3.7 KB)

I do have unit test if anyone is interested.