Fix for empty WHERE clauses.