Fix old sessions not being recognized