It was querying ES using category IDs.