Cache get_visits()
Correct end dates