Fix crash when session is somehow null on back