adjust check of group IDs across annotation links