CRM-15279 : fix query for survey while finding activities
Merge pull request #4108 from yashodha/CRM-15279

CRM-15279 : fix query for survey while finding activities