CRM-14964 - Session error on 'add activity to group'

https://issues.civicrm.org/jira/browse/CRM-14964
Merge pull request #3640 from atif-shaikh/CRM-14964

CRM-14964 - Session error on 'add activity to group'