Fix scan_args for the 'as_while' case properly.
Merge pull request #2303 from abergeron/fix_scan_args_cond

Fix scan_args for the 'as_while' case properly.