That's odd! I just tested it with exactly 20 hearts and that worked. There are exactly 19 heart containers at the end so 20 hearts should be more than enough... I apologize for the inconvenience