Can't see anything wrong in the code itself, our only guess is that the button was pressed the same amount of times.
Code has been added to prevent this in our development environment. It will be released with the next TBRescue update, which is likely to be today.