Illegal memory acces when monitoring non-existent node with global id 0

Reported by @HighlandValley