That's weird, for me type:todo returns everything: regular notes as well as todos. It doesn't filter. I have Joplin 2.10.19 on Windows 10. I'll try to disable extensions, maybe it helps... Disabling extensions didn't help.
type:todo