fixed condition for display_in_groups