Thanks for playing! I think there is a minor bug when you die to a boss, in particular the final boss ticks the counter to -1.
Yep that's exactly what happened, also you're welcome.