session: fixed bug when multi-group student account is closed