Fixed while() expression syntax
Merge branch 'issue/3035'