Fixed issue with wrong detection of object literal