cleaned up recursive relationship for task_nodes