Fix LogAndApply() group commit