Fix for isObject