BUGFIX: Remove possibility of E_NOTICE in updatetreenodes().