Bug fix for Iterables used in scope

Use element comparison instead of reference comparison when observing changes to Iterables in a scope.