Issue 2768 site search exclude multiple entries

Updated the code at https://github.com/dotCMS/enterprise-2.x/issues/64.

Please check.