ada: Fix crash caused by incorrect expansion of iterated component