Only load structures if they are not null

The current behavior will return NULL if a node is a shadow page, but when loading structures for iteration we do not want `null` values.

__Tasks:__

- [ ] gather feedback for my changes

__Informations:__

| Q             | A
| ------------- | ---
| Tests pass?   | ?
| Fixed tickets | 
| BC Breaks     |
| Doc           |