Fixed defect in update visitor last active routine