Check array before object because Array instanceof Object is truthy.
Check array before object because Array instanceof Object is truthy.

dcos/dcos-ui,dcos/dcos-ui,dcos/dcos-ui,dcos/dcos-ui,dcos/dcos-ui