Validate for empty where_clause