ECMS-4263: [WCM] NPE when add content By query portlet with By content

Fix description:
-correct the comparison clause