The following NXQL query fails when used with security check:
SELECT * FROM Document WHERE ecm:fulltext LIKE 'testNote1' AND ecm:mixinType != 'HiddenInNavigation' AND ecm:isCheckedInVersion = 0 AND ecm:currentLifeCycleState != 'deleted'
-> ORA-00918: column ambiguously defined