This shoud be ">= 1".
Also, in the error message, can you include the counter value?