Remove scope/type checking of where clauses.

It was very brittle and I don't need it now.