[BUG] Userland node type filter does not work

- The filtering was taking place on a \stdClass instead of the required
  NodeInterface.
- We now apply the userland filter on the node and not the stdClass.