Fixed issue that was causing invalid 'undeclared identifier' errors to be generated. This was due to searching the symbol table with the wrong key/symbol value.