Adds support for hasOwnProperty for numbers