asByStud: Avoid error when a group is missing in groups array