BUG: grouped hist raises error with single group