particpant filter bug optin and optout
fixed participant filter test
fixed history filter tests
removed commented code
Merge branch 'hotfix/0.9.18'