Fix crash on while/until loops without body