CRM-13738 related improvisation and notice fix

----------------------------------------
* CRM-13738: Activity Report fails if filtering on any contact
  http://issues.civicrm.org/jira/browse/CRM-13738
Merge pull request #2053 from monishdeb/CRM-13738

CRM-13738 related improvisation and notice fix in Activity Report