Filter groups according to included profiles