Skip undefined predicates in where clauses. Fix #60