Fixed issues in custom student search by group