Handle case of only localHead modified.