Fix iterating over child modules when removing