Fix up tracking of calls to dirtyUp()