Minor fix to manage session access