In doing so I ran into a good example of why var scoping is so important.
File structure:
Non var scoped code:
Non var scoped results:
However when I properly var scoped the variables.
var scoped code:
var scoped results:
In simple terms, when the function is being run the second time, ColdFusion is being lazy. Instead of making and declaring a new variable it is using the old one. Adding var scoping will make sure that whenever the function is run the variables are scoped to that instance of the function.