Fix recent bug in XActivityRestriction
Merge pull request #28 from vipere/master

Fix recent bug in XActivityRestriction

Thanks a lot, vipere!