Yes, the ids are stored in the DB, so the search constraint is just taking the text from the DB…the IDs are actually coming from the result of a bulk create via the API, so the IDs do exist in the DB as well.