Fixes #1739 - _.extend check for own properties