Fixed case where scope is sent as undefined to getSymbolTableEntry()