'mixed' type is not the same as 'undefined'
Merge pull request #445 from dg/pull-fixes2

'mixed' type is not the same as 'undefined'