Fix ael if, while, else (bug #5370)