Fixing isObject

Fixing isObject to return true only if the constructor is an Object.