Made fetching groups for subject lazy