fixed default as_group parameter to true
fixed check for as_group
Merge pull request #10 from gengo/72417280-as-group-true-by-default

fixed default as_group parameter to true