Could it be if you lose two eggs at the same time so it goes instantly to -1 not to zero? Depending on how your code is checking it. If it's only like if health == 0 and not if health <= 0 then it could be that.
I cannot even believe I missed that. I just checked my code and it looks like that was the problem. -_- Thanks for the help debugging! lol