Hey Fryderider,
I will try to explain in words what you are doing:
The first time the GetWallBlock int variable is on 0, so you delete the 1st item in your array. Works fine, but you add 1 to your int, now GetWallBlock is on 1.
The second time you press space you will delete the 2nd item in your array, but you already deleted an item in your array, so you actually have 2 items in your array, so the second item is actually your third item in the array you started with. If that makes sense
To fix it just delete the part where you add 1 to your GetWallBlock variable, this will always delete the next item.
Hope this helps
Elias