You probably need to copy addressList to a new var...
# suitescript
m
You probably need to copy addressList to a new variable to get around that