fix iteration variables to get transient name which is the index of the array
Merge pull request #1287 from JeffPyeBrook/pr-1251-clear-temporary-data

Delete transient by name from saved array