I saw your file this night.
Is it possible that you use something like "IF variable = 0, THEN wait 10 seconds, THEN add x amount to variable"?
If yes, its possible that you go below 0, but the line above will only work if you exact at 0.
Try to use "equal or less" instead of "equal".