Fix failing test case in test_filter_ipc.

Add explicit check for primary group.
Merge pull request #779 from hashstat/master

Fix failing test case in test_filter_ipc.