rebuild trigger is working now but with jstree nodes unchecked for those state undetermined