Query rewriting can't return an empty WHERE clause.