That is not a bug, there is actually a way that you left no heart boxes at all.
Thanks for the hint, it's crazy how well the level hints work for explaining it!