Fixing empty group list in profile details