[Core] Fix no clause is no values passed to IN

Result was that if in-where clause was empty, ni filter was applied so
all values were accepted.

Now if no values, then "AND false" added so that no rows will be
returned.