I am trying to calculate the sum of original estimates from subtasks through automation. At the start, this automation rule works fine, but later, the original estimates keep reverting to their previous value. Please guide me, on how I can fix this problem.

The automation works twice for the original automation, but I am unable to figure out the problem.

Please help!!!