Fix variable name, which broke sending valid heartbeat.