Hg throttle mutation

Throttle CPU intensive ensureNoteIntegrity function.