Exception is thrown if the data source of second template is changed and rows are expanded in hierarchy.