Properly access session_stats.