Handle possibly-invalid enums for queries.