BUGFIX: use previous_visit_at instead of last_seen_at to determine the best period to display in the top summary