ENYO-266 Fix loop iteration err
Current code could not execute for statement.

Enyo-DCO-1.1-Signed-off-by: David Um david.um@lge.com