Querying on field of type type/MongoBSONID

I have a field filter created on a field of a table. This field is of type MongoBSONID. I need this filter value to be a multi select dropdown. However how to convert the text values selected in filter to ObjectId type?

Since without conversion the filtering returns no results.