allow !nonempty and !exists conditions, useful in conjunction with #74