fix: testing not null predicate on a dynamic reference

did throw an excpetion
please more end-user friendly... e.g. something like using the is not null predicate on a non-existing or ignored column...