Fix iname matching kernel query language
2 bugs:
- a C&P bug in interning (harmless)
- wrong field of instructions is accessed to actually match inames
Previously using iname to match instructions threw an AttributeError.
2 bugs:
Previously using iname to match instructions threw an AttributeError.