CRM-14265

based on patch : #2562, submitting this PR.
 -  as per issue description keeping the improvement event custom data specific.

note: we don't need hiding of event custom data according to event type as we provide 'OR' condition for advance search, so in this use-case multiple opposite conditions can be acted upon.