Fixed some wrong locations in the AST.