Correctly handling widget creation and removal

Shouldn’t the search reveal all existing functions regardless of context and object when I disable that switch and not drag a wire?

Anyway, I still don’t get it: