Fixes bug where app would crash if dictionary is passed to a string or number value. Now ignores it instead.