Fixed issue with applying for the groups