Fixed an off-by-one bug with hearts