Return more correct value for get_pgroup
Merge pull request #38 from worr/esrch-msg

Return more correct value for get_pgroup