Fix bug in getting Object.prototype props through primitive types

Closes #83