commitcompletion adjusted to account for removed items