Any script authored at the folder or at the collection level will run against every request in that folder or collection. I think this could be the reason why the value keeps updating on every iteration.
If your intention is not to run the pre-request script against every single request, then I will recommend that you do not author them at the collection or folder level.