Clear ranks when leaving a group
Added default rank