adding query for returning nested timeline subtree