Fix bug with inspect in is_group