Fix array loop iteration to force exception

Fix array loop iteration to force exception