Fix possible issue with eachComponent that tries to iterate over a non array.
Fix possible issue with eachComponent that tries to iterate over a non array.

formio/formio.js,formio/formio.js,formio/formio.js