Prevent error "can not get property 'type' from *" with non-object elements (null or string or something else).
Prevent error "can not get property 'type' from *" with non-object elements (null or string or something else).

Zodiase/meteor-mdl-react