We should apply everything before ```commitIndex```. The ```commitIndex``` is the last command that changes the conf of the cluster.