Bug 7747: Reply to the leader before applying previous state