Fixed a small bug in hearts.