Added comparison operators for heartbeat objects