Fixing a bug where `for-each` would repeatedly evaluate the list expression.