Fix bug when no sessions are save