Fixing order of parameters in heartbeat command.