Invoking kintone.app.getQuery(), an error is thrown when removed item is used in filter

For a dropdown type field Dropdown, for example, it has 3 items “aa,bb,cc”.
I set the filter for a custom view to “Dropdown includes any of ccc”.
And then I modify the dropdown items to “aa,bb”, please notice that “cc” is removed.
And then in the custom view, when I invoke the following code:
kintone.app.getQuery()
An error shows like this:

Error occurred. An option placed in a field (code: 状況) not found.

Error occurred. An option placed in a field (code: 状況) not found.

Could you please help me to check if it’s a bug or not?
Is there any solution to avoid it?

Hello Linner,

I was able to recreate the error, so it might be a bug.
I’ll check into it with the team.
Meanwhile, you could remove the deleted item from the custom view’s filter to make it work.

Chris,
Thanks so much. I will be appreciated if you could let me know after the bug is fixed.