I am looping through a Dictionary in order to dynamically insert specific calculations for columns. All is going fine until the end of the loop, where I am getting an error: