Fixed issue #7812: Iterate survey not working