CRM-13606 - Include / Exclude custom Search does not work properly

http://issues.civicrm.org/jira/browse/CRM-13606
Merge pull request #2264 from dlobo/CRM-13606

CRM-13606 - Include / Exclude custom Search does not work properly