Fixed some errors group_by method blog.