Filter annotations if working inside groups.