Fixed issue #13670: Performance optimization: change while(list() to foreach() (thank...