Passing the wrong object to hasOwnProperty method.
Cosmetic.
Merge pull request #159 from brunocoelho/dev

Passing wrong object to hasOwnProperty method.