Fix NPE in compendium+nei integration