Modified the group_by commands to group to work in rethinkdb 1.12