Minor fix at logout.