Limit groups to the current domain we are on

Ticket: #3176