Hi,
Please see the patch attached.
When completing a TODO with a TRIGGER property that has statistics in the parent headline the trigger would not evaluate because the :position property in `change-plist' may now refer to the line above the original TODO.
I have used a marker to avoid the issue with the point moving due to the addition of characters in the parent headline
. Not sure if this is the best way to solve the problem.
Cheers,
Adrian