Fix bug: last session is never loaded.