Thanks for the explanation and script. Unfortunately, there is so much going on in this report that I cannot follow it.
For those who only need the timer to be 1 .reps this fix is working, however it doesn't work when the .reps parameter is 0 or greater than 1.
I cannot seem to reproduce this here. I just tested -P with reps 0 and onwards, and they worked as expected.
Since you are reporting a bug with -p as well, I think I will need to put -P on hold for now.
Can you post another bug report that is as simple and short as possible, that describes the issue with -p?