Quote:
I want that if one checks a Node all child Nodes will get checked as well

Maybe I'm missing the real problem, but this still does not work with your new UDF. At least not on my system here.