Revert "Add missing loop"

This reverts commit 41777918da39a29c7ec4c2ce1af8b7c99e7a6128.