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

Fix description:
- Correct the comparison clause.