Fix bug introduced by previous bugfix.

Thanks to the unit tests I realized I broke the "consecutive lockout" code
when fixing the previous bug.

We must reset the lockout timer in the proper place...