cleanup of dirtybit for visits, current finalized visit id set