ast: fixed hang in for-loop handling