Check whether nodes exist before accessing their filters
Merge pull request #119 from neithernut/fix-avl-regen_metadata

Fix crashes in regen_metadata