Filter for TODO does not work in Linked Reference

I just moved from roam and tried filtering my ‘TODO’ tasks, but this does not seem to be working. Am I missing something? (Refer to the screenshot where the done tasks don’t go away)

I wonder if this is related to my issue as well.