Take the last visit time into consideration.