Add bug fix/workaround for setting lists as grouped dynamically.