Problem with a remove

just look at your top branch path,

remove index does exactly that, so when you next try to Get that index it isnt there anymore.

you cant remove the index until after your GetDataTableRow