I don't know if there's a clean and easy way to do it, but I think this and line 135 below need to do what “filter results” would do instead of “filter catalog”. As it is, this prevents you from assigning a mnemonic to anything that isn't in the catalog.