Avoid crash when ASTifying an empty do{} block

...and remember that assertions are useless in production mode,
especially when they are wrong.
Typo fix