Fix crash in ClusterListener::ReplayLog().