Fixed more issues wrt raft consensus and 2pc consensus protocols.